#ifndef ITEM_H
#define ITEM_H

#include <string>

struct Item {
    std::string name;         // Item name
    std::string description;  // Item description
    unsigned healthBonus;     // Health bonus
    unsigned attackBonus;     // Attack bonus
    unsigned defenseBonus;    // Defense bonus
    
    // Constructor
    Item(const std::string& _name, const std::string& _desc, 
         unsigned _health = 0, unsigned _attack = 0, unsigned _defense = 0)
        : name(_name), description(_desc), 
          healthBonus(_health), attackBonus(_attack), defenseBonus(_defense) {}
    
    // String representation of the item
    std::string toString() const {
        return name + " (" + description + ")";
    }
};

#endif // ITEM_H 